<template>
  <div class="index">
    <!-- banner图 -->
    <div class="bannerImg">
      <!-- banner图中间区域 -->
      <div class="content-box">
        <h1>香港屋網-買樓,租屋,放盤,<span class="sp">更輕鬆!</span></h1>
        <div class="optionInfo">
          <h2>会员登录</h2>
          <div class="loginBox">
            <div class="userBox">
              <img src="../../../static/index/gimg01.jpg" width="80px" alt="">
              <div>
                <input class="userInput" placeholder="请输入手机号码" style="padding-left: 15px;"></input>
              </div>
            </div>
            <div class="userBox psswords" >
              <img src="../../../static/index/gimg02.jpg" width="80px" alt="">
              <div>
                <input class="userInput" placeholder="请输入手机号码" style="padding-left: 15px;"></input>
              </div>
            </div>
            <div class="userBox psswords backPassword" >
              <el-checkbox v-model="checked">两个月内免登陆</el-checkbox>
              <span style="display: inline-block;color: #666666;">忘记密码</span>
            </div>
            <div class="userBox psswords" >
              <el-button class="loginBtn">登陆</el-button>
            </div>
            <div class="userBox psswords lastBox" >
              <span style="color: #333333;margin-left: 80px">还没有账户?立即</span>
              <span style="color: #ff9602;"><router-link to="/register">免费注册</router-link></span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "login"
  }
</script>

<style scoped>
  /* banner 图样式 */
  .index .bannerImg {
    width: 100%;
    height: 900px;
    /* border: 1px solid #333333; */
    background-image: url(../../../static/index/banner.jpg);
    background-size: 100% 900px;
    background-repeat: no-repeat;
    /* position: relative; */

  }

  /* banner图中间区域 */
  .index .bannerImg .content-box {
    /* position: absolute; */
    width: 800px;
    height: 850px;
    /* border: 1px solid none; */
    margin: 0 auto;
  }

  .index .bannerImg .content-box h1 {
    padding-top: 80px;
    color: #FFFFFF;
  }

  .index .bannerImg .content-box .sp {
    color: #ff9602;
  }

  .index .bannerImg .content-box .optionInfo {
    width: 450px;
    height: 570px;
    /* border: 1px solid #FF9602; */
    margin: 0 auto;
    margin-top: 50px;
    background-color: #FFFFFF;
    border-radius: 10px;
    color: #333333;
    padding-top: 30px;
  }
  .loginBox{
    width: 400px;
    height: 500px;
    /*border: 1px solid #000;*/
    margin: 30px auto;
  }
  .userBox{
    width: 100%;
    height: 80px;
    /*border: 1px solid #000;*/
    display: flex;
    justify-content: flex-start;
    flex-flow: row;
    flex-direction: row;
  }
  .userInput{
    width: 310px;
    height: 80px;
    background-color:#f0f0f0;
    border: none;
    border-radius: 5px;
  }
  .psswords{
    margin-top: 30px;
  }
  .backPassword{
    display: flex;
    justify-content: space-between;
    flex-flow: row;
    flex-direction: row;
    height: 30px;
  }
  .loginBtn{
    color: #FFFFFF;
    font-weight: bold;
    background-color:#ad2022;
    width: 300px;
    height: 50px;
    margin: 0 auto;
  }
  .lastBox{
    border-top: 1px solid #ccc;
    width: 90%;
    margin: 40px auto;
    padding-top: 30px;

  }



</style>
